import { RouteRecordRaw } from 'vue-router'

export default [
   {
      name: 'tabber',
      path: '/tabber',
      component: () => import('../views/tabber/index.vue'),
      children: [
         {
            path: '/tabber/home',
            component: () => import('../layout/tabber/home.vue'),
            children: [
               {
                  name: 'home',
                  path: '',
                  component: () => import('../views/tabber/home.vue')
               }
            ]
         },
         {
            path: '/tabber/my',
            component: () => import('../layout/tabber/my.vue'),
            children: [
               {
                  name: 'my',
                  path: '',
                  component: () => import('../views/tabber/my.vue'),
                  meta: {
                     auth: true
                  }
               }
            ]
         },
         {
            path: '/tabber/search',
            component: () => import('../layout/tabber/search.vue'),
            children: [
               {
                  name: 'search',
                  path: '',
                  component: () => import('../views/tabber/search.vue'),
                  meta: {
                     auth: true
                  }
               }
            ]
         },
         {
            path: '/tabber/map',
            component: () => import('../layout/tabber/map.vue'),
            children: [
               {
                  name: 'setting',
                  path: '',
                  component: () => import('../views/tabber/map.vue'),
                  meta: {
                     auth: true
                  }
               }
            ]
         }
      ]
   }
] as RouteRecordRaw[]
